package com.xsh.gls.service;

import com.xsh.gls.pojo.User;
import org.springframework.stereotype.Component;

@Component
public interface UserService {
   int insert(User user)throws Exception;
   User queryUserById(Integer id)throws Exception;
   User queryUserByUserName(String userName)throws Exception;
   int updateByPrimaryKey(User user);

   int updateByPrimaryKeySelective(User user);
}
